import './css/style.css';
import { calculator } from '@common/utils';
import { getCNWeekDay } from '@common/utils';
import { getLatestIssues } from '@common/common.business';
console.log(getLatestIssues());

const _ = require('lodash');

console.log(_.join(['Hello', 'Webpack']));

let title = document.createElement('h2'),
    content = document.createElement('div');

title.innerHTML = 'About Albin Compnay';
title.classList.add('ml-40');
title.classList.add('abount-title');

content.innerHTML = `Albin is an international company which has over 1 million empolyees.
    The company has many factories and building all over 120 countries and regions.
    Our goal is create a great product for human being and provide good service for our customers.`;
content.classList.add('ml-40');
content.classList.add('about-content');

const r = calculator.sub(2, 1);
let pre = `<p>2 - 1 = ${r}</p>`
console.log(getCNWeekDay());

$("#main").append(title)
    .append(content)
    .append(pre);